package com.bjsxt.chapter7_bridge;

/**
 * @ClassName Client
 * @Description 客户端
 * @Author 黑马程序员
 * @Date 18:57 2024/6/21
 * @Version 1.0
 **/
public class Client {
    public static void main(String[] args) {
        // 联想笔记本电脑
        Computer2 c = new LapTop2(new Lenovo());
        c.sale();

        // 神舟台式机电脑
        Computer2 c2 = new DeskTop2(new Hasee());
        c2.sale();

    }
}
